package com.cx.mapper;

import com.cx.pojo.Replyposting;
import com.cx.pojo.ReplypostingExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface ReplypostingMapper {
    int countByExample(ReplypostingExample example);

    int deleteByExample(ReplypostingExample example);

    int deleteByPrimaryKey(Integer rpId);

    int insert(Replyposting record);

    int insertSelective(Replyposting record);

    List<Replyposting> selectByExampleWithBLOBs(ReplypostingExample example);

    List<Replyposting> selectByExample(ReplypostingExample example);

    Replyposting selectByPrimaryKey(Integer rpId);

    int updateByExampleSelective(@Param("record") Replyposting record, @Param("example") ReplypostingExample example);

    int updateByExampleWithBLOBs(@Param("record") Replyposting record, @Param("example") ReplypostingExample example);

    int updateByExample(@Param("record") Replyposting record, @Param("example") ReplypostingExample example);

    int updateByPrimaryKeySelective(Replyposting record);

    int updateByPrimaryKeyWithBLOBs(Replyposting record);

    int updateByPrimaryKey(Replyposting record);
}